package bb.lanxing.model.json;

import bb.lanxing.util.DateUtil;
import java.io.Serializable;

public class Comment implements Serializable {
    private static final long serialVersionUID = 1;
    private String content;
    private long createTime;
    private long informedUserId;
    private String informedUserName;
    private double latitude;
    private double longitude;
    private String photoUrl;
    private int serverId;
    private ServerUser serverUser;
    private long topic;

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }

    public String getPhotoUrl() {
        return this.photoUrl;
    }

    public int getServerId() {
        return this.serverId;
    }

    public void setServerId(int serverId) {
        this.serverId = serverId;
    }

    public ServerUser getServerUser() {
        return this.serverUser;
    }

    public void setServerUser(ServerUser serverUser) {
        this.serverUser = serverUser;
    }

    public long getTopic() {
        return this.topic;
    }

    public void setTopic(long topic) {
        this.topic = topic;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public double getLatitude() {
        return this.latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return this.longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public void setCreateTime(String createTimeStr) {
        this.createTime = DateUtil.parse(createTimeStr, 3);
    }
}
